<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p>合并单元格6和7 ：水平合并：colspan</p>
    <p>合并单元格15和20 ：垂直合并：rowspan</p>
    <p>水平合并：保留左边，删除右边</p>
    <p>垂直合并：保留上边，删除下边</p>

    <table border="1" width="600" height="400">
        <tr>
            <td>I LOVE U1</td>
            <td>I LOVE U2</td>
            <td>I LOVE U3</td>
            <td>I LOVE U4</td>
            <td>I LOVE U5</td>
        </tr>
        <tr>
            <td colspan="2">I LOVE U6/7</td>
            
            <td>I LOVE U8</td>
            <td>I LOVE U9</td>
            <td>I LOVE U10</td>
        </tr>
        <tr>
            <td>I LOVE U11</td>
            <td>I LOVE U12</td>
            <td>I LOVE U13</td>
            <td>I LOVE U14</td>
            <td rowspan="2">I LOVE U15/20</td>
        </tr>
        <tr>
            <td>I LOVE U16</td>
            <td>I LOVE U17</td>
            <td>I LOVE U18</td>
            <td>I LOVE U19</td>
           
        </tr>
        <tr>
            <td>I LOVE U21</td>
            <td>I LOVE U22</td>
            <td>I LOVE U23</td>
            <td>I LOVE U24</td>
            <td>I LOVE U25</td>
        </tr>
    </table>
</body>
</html>